{extend name="common/application" /}
{block name="title"}<title id="title">知果汇</title>{/block}
{block name="css"}
<link rel="stylesheet" type="text/css" href="_CSS_/index.css"/>
<!--[if lt IE 9]>
<script src="http://www.ijquery.cn/js/html5shiv.js"></script>
<![endif]-->
<style type="text/css">
    .username {
        width: auto;
        float: none;
        font-size: 13px;
        color: #3377c1;
    }
	.nodatas{text-align: center;padding-top: 100px;}
	.nodatas img{width: 85px;height: 65px;display:inline-block;margin-bottom: 0;}
	.nodatas p{margin: 5px 0 0 0;padding: 0;font-size: 13px;}
	.patentsItem{background: url('/static/web/images/juxing.png') 100% 100% no-repeat;border: 0;box-shadow: none;height: 263px;}
	.serviceBox{height: 420px;}
	.servicesCon .patentsItem{height: 223px;padding: 50px 0;}
	.trains{overflow: hidden;}
	.trainBox{height: auto;padding: 30px 0;}
	.trainsCon{width:620px;float: left;height:644px;}
	.personsBox{width: 590px;float: left;padding-top: 24px;}
	.personsSection{border: 1px solid #E5E5E5;height: 306px;}
	.p_title{font-weight:normal;height: 36px;line-height: 36px;border-bottom: 1px solid #E5E5E5;padding: 0 15px;overflow: hidden;}
	.p_title span{font-size: 16px;color: #3377C1;}
	.amount{font-size: 14px !important;margin-left: 380px;margin-right: 15px;}
	.mores01{color: #999999;float: right;}
	.mores01:hover{color: #999999;}
	.icon-arrow{margin: 0 0 3px 0;}
	.personItem{padding: 6px 0;margin:0 15px;border-bottom: 1px solid #E5E5E5;}
	.p_name{width: 100%;font-size: 16px;color: #333333;}
	.p_job{width: 100%;font-size: 14px;color: #999999;}
	.p_areas{width: 100%;font-size: 14px;color: #a8a8a8;}
	.bb0{border-bottom: 0;}
	#teachers{padding-top: 0;}
	#teachers .personsSection{border-top: 0;}
	.governmentArea{background: #F8F8F8;}
	.governmentItem{background: #FFFFFF;}
	.partnerArea {background: #FFFFFF;}
	.companyLinks{border: 1px solid #E5E5E5;margin: 15px 12px 0 0px;}
	.goDetail{display: block;}
	/*合作伙伴*/
	.partnerBox{height: auto;}
	.partnersCon{margin: 20px 0;}
	.picMarquee-left{ width:1210PX;  overflow:hidden; position:relative;}
	.picMarquee-left .hd{ overflow:hidden;  height:30px; background:#f4f4f4; padding:0 10px;  }
	.picMarquee-left .hd .prev,.picMarquee-left .hd .next{ display:block;  width:5px; height:9px; float:right; margin-right:5px; margin-top:10px;  overflow:hidden;
		 cursor:pointer; background:url("images/arrow.png") no-repeat;}
	.picMarquee-left .hd .next{ background-position:0 -50px;  }
	.picMarquee-left .hd .prevStop{ background-position:-60px 0; }
	.picMarquee-left .hd .nextStop{ background-position:-60px -50px; }
	.picMarquee-left .bd{ padding:10px;   }
	.picMarquee-left .bd ul{ overflow:hidden; zoom:1; }
	.picMarquee-left .bd ul li{ float:left; _display:inline; overflow:hidden; text-align:center; margin-right: 10px; }
	.picMarquee-left .bd ul li .pic{ text-align:center; }
	.picMarquee-left .bd ul li .pic img{ width:230px; height:120px; display:block; border:1px solid #ccc; }
	.picMarquee-left .bd ul li .pic a:hover img{ border-color:#999;  }
	.picMarquee-left .bd ul li .title{ line-height:24px;   }
	.jump{font-size: 16px;
    margin: 0 10px 0 20px;
    display:  inline-block;
    line-height:  40px;
    vertical-align:  middle;
    color:  #666;}
	.go{   width: 40px;
    height: 38px;
    border:  1px solid #e5e5e5;
    /* margin: 0 10px; */
    padding: 0 10px;}
	.more{background:#f3f3f3 !important;}
	.trainsItem{display:none;}
</style>
{/block}
{block name="navbar"}{include file="/common/navbar" /}{/block}

{block name="content"}
<!-- 主体内容 -->
<div class="main">
    <!--轮播图-->
    <div id="slideBox" class="slideBox Carousel">
        <div class="hd normalBox">
            <ul>
                <li></li>
                <li></li>
                <li></li>
            </ul>
        </div>
        <div class="bd">
            <ul>
                <li>
                    <a href="javascript:;" target="_blank">
                        <img src="_IMG_/2.jpg"/>
                    </a>
                </li>
                <li>
                    <a href="javascript:;" target="_blank">
                        <img src="_IMG_/2.jpg"/>
                    </a>
                </li>
                <li>
                    <a href="javascript:;" target="_blank">
                        <img src="_IMG_/2.jpg"/>
                    </a>
                </li>
            </ul>
        </div>
        <div class="arrowArea normalBox">
            <a class="prev" href="javascript:void(0)"></a>
            <a class="next" href="javascript:void(0)"></a>
        </div>
    </div>
    <!--专利-->
    <div class="patentsArea">
        <div class="patentsBox normalBox">
            <!--评价与匹配-->
            <div class="entrys">
                <div class="entrysItem">
                    <span class="icons icon-grade fl"/></span>
                    <span class="fl">专利质量评分</span>
                    <p>专利质量评价查询，可以有效的知道专利的竞争力，更明确专利价值，为在交易中提供价格参考。</p>
                    <a class="goDetails" target="_blank" href="http://heilongjiang.91ipr.com/wfmqamol.jsp">GO<span class="icons icon-go"></span></a>
                </div>
                <div class="entrysItem">
                    <span class="icons icon-match fl"/></span>
                    <span class="fl">专利成功匹配</span>
                    <p>专利成果匹配，可以有效的知道专利的竞争力，更明确专利价值，为在交易中提供价格参考。</p>
                    <a class="goDetails" target="_blank" href="http://heilongjiang.91ipr.com/wmatch.jsp">GO<span class="icons icon-go"></span></a>
                </div>
            </div>
            <!--我要专利-->
            <div class="patents">
                <h4 class="mainTitle">我要专利<span>交易市场，应有尽有</span></h4>
                <div class="patentsCon">
                    <div class="patentsItem">
                        <span class="icons icon-patent01"></span>
                        <h5>发明专利</h5>
                        <p>产品、方法或方法改进保护</p>
                        <p class="blue">共<span class="num01">0</span>件</p>
                        <a class="seemore" href="/index.php/index/trade/index#16">查看更多</a>
                    </div>
                    <div class="patentsItem">
                        <span class="icons icon-patent02"></span>
                        <h5>实用新型</h5>
                        <p>产品形状、构造保护</p>
                        <p class="blue">共<span class="num02">0</span>件</p>
                        <a class="seemore" href="/index.php/index/trade/index#15">查看更多</a>
                    </div>
                    <div class="patentsItem mr0">
                        <span class="icons icon-patent03"></span>
                        <h5>外观设计</h5>
                        <p>产品形状、图案、色彩保护</p>
                        <p class="blue">共<span class="num03">0</span>件</p>
                        <a class="seemore" href="/index.php/index/trade/index#17">查看更多</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--服务-->
    <div class="serviceArea">
        <div class="serviceBox normalBox">
            <!--我要服务-->
            <div class="services">
                <h4 class="mainTitle">我要服务<span>服务市场，应有尽有</span></h4>
                <div class="servicesCon">
					<div class="patentsItem" id="agent">
						<span class="icons icon-service08"></span>
						<h5>专利代理</h5>
						<p>专利安全专业，无忧售后</p>
						<p class="blue">共<span class="num04">0</span>件</p>
						<a class="seemore" href="/index.php/index/service/index#4">查看更多</a>
					</div>
					<div class="patentsItem" id="safe">
						<span class="icons icon-service09"></span>
						<h5>专利维权</h5>
						<p>专利使用遇纠纷，立即维权除障碍</p>
						<p class="blue">共<span class="num05">0</span>件</p>
						<a class="seemore" href="/index.php/index/service/index#2">查看更多</a>
					</div>
					<div class="patentsItem mr0" id="design">
						<span class="icons icon-service10"></span>
						<h5>设计开发</h5>
						<p>专业、多样、高效，给你想要的</p>
						<p class="blue">共<span class="num06">0</span>件</p>
						<a class="seemore" href="/index.php/index/service/index#6">查看更多</a>
					</div>
				</div>
            </div>
        </div>
    </div>
    <!--培训-->
    <div class="trainArea">
        <div class="trainBox normalBox">
            <!--我要培训-->
            <div class="trains">
                <h4 class="mainTitle">专利培训<span>交易市场，应有尽有</span></h4>
                <div class="trainsCon">
                    <div class="trainsItem">
                        <div class="imgBox">
                            <a class="links" href="courses_details.htm"><img src="_IMG_/3.png"></a>
                        </div>
                        <div class="courseCon">
                            <a class="links courseTitle text_overflow" href="courses_details.html">企业发明创造的规划与布局</a>
                            <p class="Episodes">共<span class="EpisodesNum">1</span>集</p>
                            <p class="learner"><span class="learnerNum">23</span>人学习</p>
                            <p class="praise"><span class="icons icon-praise"></span>0</p>
                        </div>
                    </div>
                    <div class="trainsItem">
                        <div class="imgBox">
                            <a class="links" href="courses_details.htm"><img src="_IMG_/5.png"></a>
                        </div>
                        <div class="courseCon">
                            <a class="links courseTitle text_overflow" href="courses_details.html">企业发明创造的规划与布局</a>
                            <p class="Episodes">共<span class="EpisodesNum">1</span>集</p>
                            <p class="learner"><span class="learnerNum">23</span>人学习</p>
                            <p class="praise"><span class="icons icon-praise"></span>0</p>
                        </div>
                    </div>
                    <div class="trainsItem">
                        <div class="imgBox">
                            <a class="links" href="courses_details.htm"><img src="_IMG_/4.png"></a>
                        </div>
                        <div class="courseCon">
                            <a class="links courseTitle text_overflow" href="courses_details.html">企业发明创造的规划与布局</a>
                            <p class="Episodes">共<span class="EpisodesNum">1</span>集</p>
                            <p class="learner"><span class="learnerNum">23</span>人学习</p>
                            <p class="praise"><span class="icons icon-praise"></span>0</p>
                        </div>
                    </div>
                    <div class="trainsItem mr0">
                        <div class="imgBox">
                            <a class="links" href="courses_details.htm"><img src="_IMG_/3.png"></a>
                        </div>
                        <div class="courseCon">
                            <a class="links courseTitle text_overflow" href="courses_details.html">企业发明创造的规划与布局</a>
                            <p class="Episodes">共<span class="EpisodesNum">1</span>集</p>
                            <p class="learner"><span class="learnerNum">23</span>人学习</p>
                            <p class="praise"><span class="icons icon-praise"></span>0</p>
                        </div>
                    </div>
                </div>
				<!--师资人才-->
				<div class="personsBox" id="persons">
					<div class="personsSection">
						<h4 class="p_title">
							<span>人才</span>
							<span class="amount">共100位</span>
							<a class="mores01" href="/index.php/index/train/persons.html">查看更多<span class="icons icon-arrow"></span></a>
						</h4>
					</div>										
				</div>
				<div class="personsBox" id="teachers">
					<div class="personsSection">
						<h4 class="p_title">
							<span>师资</span>
							<span class="amount">共100位</span>
							<a class="mores01" href="/index.php/index/train/teachers.html">查看更多<span class="icons icon-arrow"></span></a>
						</h4>
					</div>							
				</div>
            </div>
        </div>
    </div>
    <!--政务-->
    <div class="governmentArea">
        <div class="governmentBox normalBox">
            <!--我要政务-->
            <div class="governments">
                <h4 class="mainTitle">政务资讯<span>及时更新，了解更全面</span></h4>
                <div class="governmentsCon">
                    <div class="governmentItem">
                        <div class="top" id="top01">
                            <a class="goGovernment" href="javascript:;"><img src="_IMG_/3.png"/></a>
                            <a class="goGovernment moreline governmentTitle" href="javascript:;" limit="35"></a>
                            <p><span class="icons icon-time"></span></p>
                        </div>
                        <div class="bottom" id="bottom01">
                            <h5>国务院要闻<a class="mores fr"
                                        href="/index.php/index/government/government_list.html#1">更多</a></h5>
                            <a class="titles moreline" href="javascript:;" limit="15"></a>
                            <a class="titles moreline" href="javascript:;" limit="15"></a>
                            <a class="titles moreline" href="javascript:;" limit="15"></a>
                            <a class="titles moreline" href="javascript:;" limit="15"></a>
                        </div>
                    </div>
                    <div class="governmentItem">
                        <div class="top" id="top02">
                            <a class="goGovernment" href="javascript:;"><img src="_IMG_/3.png"/></a>
                            <a class="goGovernment moreline governmentTitle" href="javascript:;" limit="35"></a>
                            <p><span class="icons icon-time"></span></p>
                        </div>
                        <div class="bottom" id="bottom02">
                            <h5>政策早知道<a class="mores fr"
                                        href="/index.php/index/government/government_list.html#2">更多</a></h5>
                            <a class="titles moreline" href="javascript:;" limit="15"></a>
                            <a class="titles moreline" href="javascript:;" limit="15"></a>
                            <a class="titles moreline" href="javascript:;" limit="15"></a>
                            <a class="titles moreline" href="javascript:;" limit="15"></a>
                        </div>
                    </div>
                    <div class="governmentItem">
                        <div class="top" id="top03">
                            <a class="goGovernment" href="javascript:;"><img src="_IMG_/3.png"/></a>
                            <a class="goGovernment moreline governmentTitle" href="javascript:;" limit="35"></a>
                            <p><span class="icons icon-time"></span></p>
                        </div>
                        <div class="bottom" id="bottom03">
                            <h5>政策导读<a class="mores fr"
                                       href="/index.php/index/government/government_list.html#3">更多</a></h5>
                            <a class="titles moreline" href="javascript:;" limit="15"></a>
                            <a class="titles moreline" href="javascript:;" limit="15"></a>
                            <a class="titles moreline" href="javascript:;" limit="15"></a>
                            <a class="titles moreline" href="javascript:;" limit="15"></a>
                        </div>
                    </div>
                    <div class="governmentItem mr0">
                        <div class="top" id="top04">
                            <a class="goGovernment" href="javascript:;"><img src="_IMG_/3.png"/></a>
                            <a class="goGovernment moreline governmentTitle" href="javascript:;" limit="35"></a>
                            <p><span class="icons icon-time"></span></p>
                        </div>
                        <div class="bottom" id="bottom04">
                            <h5>工作报道<a class="mores fr"
                                       href="/index.php/index/government/government_list.html#4">更多</a></h5>
                            <a class="titles moreline" href="javascript:;" limit="15"></a>
                            <a class="titles moreline" href="javascript:;" limit="15"></a>
                            <a class="titles moreline" href="javascript:;" limit="15"></a>
                            <a class="titles moreline" href="javascript:;" limit="15"></a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--合作伙伴-->
    <div class="partnerArea">
        <div class="partnerBox normalBox">
            <!--我要伙伴-->
            <div class="partners">
                <h4 class="mainTitle">合作伙伴<span>有效合作，创造共赢</span></h4>
                <div class="partnersCon">
                    <div class="picMarquee-left" style="margin:20px 0px">
						<div class="hd hide">
							<a class="next"></a>
							<a class="prev"></a>
						</div>
						<div class="bd">
							<ul class="picList">
								<li>
									<div class="pic">
										<a href="http://www.nttcenter.com" target="_blank">
											<img src="_IMG_/17.png" />
										</a>
									</div>
								</li>
								<li>
									<div class="pic">
										<a href="http://www.cnpatent.com/" target="_blank">
											<img src="_IMG_/16.png" />
										</a>
									</div>
								</li>
								<!--<li>
									<div class="pic">
										<a href="http://www.saic.gov.cn/sbw1/sbcx/sbcx.html" target="_blank">
											<img src="_IMG_/13.png" />
										</a>
									</div>
								</li>-->
								<li>
									<div class="pic">
										<a href="http://cpquery.sipo.gov.cn/" target="_blank">
											<img src="_IMG_/12.png" />
										</a>
									</div>
								</li>
								<li>
									<div class="pic">
										<a href="http://www2.soopat.com/Home/IIndex" target="_blank">
											<img src="_IMG_/14.png" />
										</a>
									</div>
								</li>
								<li>
									<div class="pic">
										<a href="http://www.changjiangdata.com/" target="_blank">
											<img src="_IMG_/10.png" />
										</a>
									</div>
								</li>
								<li>
									<div class="pic">
										<a href="http://www.opticsipr.com" target="_blank">
											<img src="_IMG_/p08.png" />
										</a>
									</div>
								</li>
								<li>
									<div class="pic">
										<a href="http://hb.sipo.gov.cn/front/" target="_blank">
											<img src="_IMG_/p01.png" />
										</a>
									</div>
								</li>
								<li>
									<div class="pic">
										<a href="http://www.hbsti.ac.cn/Portal/index.jsp" target="_blank">
											<img src="_IMG_/p07.png" />
										</a>
									</div>
								</li>
								<li>
									<div class="pic">
										<a href="http://www.51kehui.com/" target="_blank">
											<img src="_IMG_/p04.png" />
										</a>
									</div>
								</li>
								<li>
									<div class="pic">
										<a href="http://www.hbstl.org.cn/webs/homepage.jsp" target="_blank">
											<img src="_IMG_/8.png" />
										</a>
									</div>
								</li>
								<li>
									<div class="pic">
										<a href="http://www.vc2ip.com" target="_blank">
											<img src="_IMG_/p02.png" />
										</a>
									</div>
								</li>
								<li>
									<div class="pic">
										<a href="http://www.chinagtec.com/" target="_blank">
											<img src="_IMG_/p03.png" />
										</a>
									</div>
								</li>
								<!--<li>
									<div class="pic">
										<a href="http://219.139.243.218:8080/ipss/" target="_blank">
											<img src="_IMG_/p06.png" />
										</a>
									</div>
								</li>-->
								<li>
									<div class="pic">
										<a href="http://www.ovupre.com/" target="_blank">
											<img src="_IMG_/9.png" />
										</a>
									</div>
								</li>
								<li>
									<div class="pic">
										<a href="http://www.sipo.gov.cn/" target="_blank">
											<img src="_IMG_/11.png" />
										</a>
									</div>
								</li>
								<li>
									<div class="pic">
										<a href="http://www.hbsis.org.cn/said/42/index.html" target="_blank">
											<img src="_IMG_/p05.png" />
										</a>
									</div>
								</li>
							</ul>
						</div>
					</div>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}

{block name="js"}
<!-- 脚本引入 -->
<script src="_JS_/slide.js"></script>
<script src="_P_/layer/layer.js"></script>
<script src="_JS_/getMyDate.js"></script>
<script>
	$(document).ready(function(){
		/*合作伙伴*/
		jQuery(".picMarquee-left").slide({mainCell:".bd ul",autoPlay:true,effect:"leftMarquee",vis:5,interTime:25});					
		/*数据请求*/
		$.ajax({
			type: "get",
			url: "/index.php/api/index/index",
			dataType: 'jsonp',
			jsonp: 'callback',
			success: function(msg) {
				if(msg.code == 200) {
					/*交易*/
					$('.num01').text(msg.data.category2);
					$('.num02').text(msg.data.category1);
					$('.num03').text(msg.data.category3);
					/*服务*/
					$('.num04').text(msg.data.services1);
					$('.num05').text(msg.data.services2);
					$('.num06').text(msg.data.services3);
					/*培训*/
					var video = msg.data.video;
					$(".trainsCon").html('');
					if(video.length == 0){
						$(".trainsCon").html('<div class="nodatas"><img src="/static/web/images/null01.png"><p>抱歉，暂无数据!</p></div>');
					}else{
						for(var d = 0; d < video.length; d++){
							var id      = video[d].id;
							var title   = video[d].title;
							var episode = video[d].episode;
							var pic     = '/Images/Cover/'+video[d].pic;
							var view    = video[d].views;
							var likes   = video[d].likes;
		
							var html  = '';
								html += '<div class="trainsItem"><div class="imgBox">';
								html += '<a class="links" href="/index.php/index/train/courses_details.html?id=' + id + '"><img src="' + pic + '" ></a>';
								html += '</div><div class="courseCon">';
								html += '<a class="links courseTitle text_overflow" href="/index.php/index/train/courses_details.html?id=' + id + '">'+ title +'</a>';
								html += '<p class="Episodes">共<span class="EpisodesNum">'+ episode +'</span>集</p>';
								html += '<p class="learner"><span class="learnerNum">'+ view +'</span>人学习</p>';
								html += '<p class="praise"><span class="icons icon-praise"></span>'+ likes +'</p>';
								html += '</div></div>';											
								$(".trainsCon").append(html);
								$('.trainsItem').eq(3).addClass('mr0');
						}
						$('.trainsItem').css('display','block');
					}	
					/*人才*/
					var person_num = msg.data.talent_1_count;
					$('#persons').find('.amount').text('共'+person_num+'位');
					var person = msg.data.talent_1;
					for(var a = 0;a < person.length;a++){
						var id = person[a].id;
						var name = person[a].talentname;
						var position = person[a].rolename;
						var field = person[a].field;
						var html  = '';
							html += '<div class="personItem">';
							html += '<a class="goDetail" href="/index.php/index/train/persons_details.html?type=1&id=' + id + '">';
							html += '<h4 class="p_name text_overflow">'+ name +'</h4>';
							html += '<span class="p_job text_overflow">'+ position +'</span>';
							html += '<p class="p_areas text_overflow">'+ field +'</p>';
							html += '</a></div>';
								
							$("#persons .p_title").after(html);						
					}
					if(person.length == 3){
						$('.personItem').eq(2).addClass('bb0');
					}							
					/*师资*/
					var teacher_num = msg.data.talent_2_count;
					$('#teachers').find('.amount').text('共'+teacher_num+'位');
					var teacher = msg.data.talent_2;
					for(var b = 0;b < teacher.length;b++){
						var id = teacher[b].id;
						var name = teacher[b].talentname;
						var position = teacher[b].rolename;
						var field = teacher[b].field;
						var html  = '';
							html += '<div class="personItem">';
							html += '<a class="goDetail" href="/index.php/index/train/persons_details.html?type=2&id=' + id + '">';
							html += '<h4 class="p_name text_overflow">'+ name +'</h4>';
							html += '<span class="p_job text_overflow">'+ position +'</span>';
							html += '<p class="p_areas text_overflow">'+ field +'</p>';
							html += '</a></div>';
								
							$("#teachers .p_title").after(html);						
					}
					if(teacher.length == 3){
						$('.personItem').eq(5).addClass('bb0');
					}			
					
					/*政务*/
					var government01 = msg.data.government1;
					var government02 = msg.data.government2;
					var government03 = msg.data.government3;
					var government04 = msg.data.government4;
					$(".titles").text('');
					/*国务院要闻*/
					if(government01.length == 0){
						$('#top01').html('<div class="nodatas"><img src="/static/web/images/null01.png"><p>抱歉，暂无数据!</p></div>');
					}else{
						var time01 = getMyDate(government01[0].time * 1000);
						var title01 = government01[0].title;
						var src01 = '/'+government01[0].pic;
						$('#top01').html('<a class="goGovernment" href="/index.php/index/government/government_details.html?id=' + government01[0].id + '"><img src="' + src01 + '"/></a><a class="goGovernment text_overflow governmentTitle" href="/index.php/index/government/government_details.html?id=' + government01[0].id + '" title="' + title01 + '">' + title01 + '</a><p><span class="icons icon-time"></span>' + time01 + '</p>');
						for (var e = 1; e < government01.length; e++) {
							var id = government01[e].id;
							var title = government01[e].title;
							$("#bottom01 h5").after('<a class="titles text_overflow" href="/index.php/index/government/government_details.html?id=' + id + '" limit="15" title="' + title + '">' + title + '</a>');
						}
					}
					/*政策早知道*/
					if(government02.length == 0){
						$('#top02').html('<div class="nodatas"><img src="/static/web/images/null01.png"><p>抱歉，暂无数据!</p></div>');
					}else{
						var time02 = getMyDate(government02[0].time * 1000);
						var title02 = government02[0].title;
						var src02 = '/'+government02[0].pic;
						$('#top02').html('<a class="goGovernment" href="/index.php/index/government/government_details.html?id=' + government02[0].id + '"><img src="' + src02 + '"/></a><a class="goGovernment text_overflow governmentTitle" href="/index.php/index/government/government_details.html?id=' + government01[1].id + '" title="' + title02 + '">' + title02 + '</a><p><span class="icons icon-time"></span>' + time02 + '</p>');
						for (var f = 1; f < government02.length; f++) {
							var id = government02[f].id;
							var title = government02[f].title;
							$("#bottom02 h5").after('<a class="titles text_overflow" href="/index.php/index/government/government_details.html?id=' + id + '" limit="15" title="' + title + '">' + title + '</a>');
						}
					}
					/*政策导读*/
					if(government03.length == 0){
						$('#top03').html('<div class="nodatas"><img src="/static/web/images/null01.png"><p>抱歉，暂无数据!</p></div>');
					}else{
						var time03 = getMyDate(government03[0].time * 1000);
						var title03 = government03[0].title;
						var src03 = '/'+government03[0].pic;
						$('#top03').html('<a class="goGovernment" href="/index.php/index/government/government_details.html?id=' + government03[0].id + '"><img src="' + src03 + '"/></a><a class="goGovernment text_overflow governmentTitle" href="/index.php/index/government/government_details.html?id=' + government01[2].id + '" title="' + title03 + '">' + title03 + '</a><p><span class="icons icon-time"></span>' + time03 + '</p>');
						for (var g = 1; g < government03.length; g++) {
							var id = government03[g].id;
							var title = government03[g].title;
							$("#bottom03 h5").after('<a class="titles text_overflow" href="/index.php/index/government/government_details.html?id=' + id + '" limit="15" title="' + title + '">' + title + '</a>');
						}
					}
					/*工作报道*/
					if(government04.length == 0){
						$('#top04').html('<div class="nodatas"><img src="/static/web/images/null01.png"><p>抱歉，暂无数据!</p></div>');
					}else{
						var time04 = getMyDate(government04[0].time * 1000);
						var title04 = government04[0].title;
						var src04 = '/'+government04[0].pic;
						$('#top04').html('<a class="goGovernment" href="/index.php/index/government/government_details.html?id=' + government04[0].id + '"><img src="' + src04 + '"/></a><a class="goGovernment text_overflow governmentTitle" href="/index.php/index/government/government_details.html?id=' + government01[3].id + '" title="' + title04 + '">' + title04 + '</a><p><span class="icons icon-time"></span>' + time04 + '</p>');
						for (var h = 1; h < government04.length; h++) {
							var id = government04[h].id;
							var title = government04[h].title;
							$("#bottom04 h5").after('<a class="titles text_overflow" href="/index.php/index/government/government_details.html?id=' + id + '" limit="15" title="' + title + '">' + title + '</a>');
						}
					}
					/*banner加载*/
					var banner = msg.data.banner;
					$('#slideBox .bd ul').html('');
					for (var i = 0; i < msg.data.banner.length; i++) {
						var html = '';
						html += '<li><a href="javascript:;" target="_blank"><img src="/Images/Banner/' + msg.data.banner[i].img_url + '" /></a></li>';
						$('#slideBox .bd ul').append(html);
					}
					$('#slideBox .bd li').css('display', 'none');
					$('#slideBox .bd li:first-child').css('display', 'list-item');
				}
				if(msg.code == 1000) {
					layer.msg('查询失败!', {
						icon: 1,
						time: 1000
					});
				}
			}
		});

	});

</script>
{/block}